<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE HTML>
<html>
<head>
    <title>东软AppStore | Home </title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">

    <link href="/study/Public/css/style.css" rel="stylesheet" type="text/css" media="all" />
    <link href="/study/Public/css/owl.carousel.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/study/Public/css/magnific-popup.css">
    <link href="/study/Public/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <script type="text/javascript" src="/study/Public/bootstrap/js/jquery.min.js"></script>
    <script src="/study/Public/bootstrap/js/bootstrap.min.js"></script>

    <script src="/study/Public/js/owl.carousel.js"></script>
    <script>
        $(document).ready(function() {
            $("#owl-demo").owlCarousel({
                items : 4,
                lazyLoad : true,
                autoPlay : true,
                navigation : true,
                navigationText : ["", ""],
                rewindNav : false,
                scrollPerPage : false,
                pagination : false,
                paginationNumbers : false,
            });
        });
    </script>
    <style type="text/css">
#aa nav a:link {color: #FF0000}     /* 未访问的链接 */
#aa nav a:visited {color: #000000}  /* 已访问的链接 */
#aa nav a:hover {color: #FF00FF}    /* 鼠标移动到链接上 */
#aa nav a:active {color: #0000FF}   /* 选定的链接 */


    </style>
</head>
<body>



<div class="header_bg" style="background-color:#FFFFFF;">
    <div class="wrap">
        <div class="header">
            <div class="logo" style="margin-top: 14px">
                <a href="index.html">
                    <img src="/study/Public/images/lg.png" alt=""/>
                    <h1>大学社团网站</h1>
                    <div class="clear"> </div>
                </a>
            </div>
            <div class="text">
                <h1>
                
                <?php if($_SESSION['username']== ''): ?><img src="/study/Public/uploads/photo/img.jpg">
                    <a href="../Login/login.html">请登录</a>
                    <?php else: ?>
                     <img width="100px" src="/study/Public/uploads/photo/<?php echo (session('photo')); ?>">
                    <a style="color: blue;">欢迎<?php echo (session('username')); ?></a>
                    <a href="/study/index.php/Home/Login/userExit">&nbsp;&nbsp;&nbsp;&nbsp;注销</a><?php endif; ?>
             <!--    <a><a href="../Login/login.html">请登录</a></a> / <a href="#" data-toggle="modal"  data-target="#myModal">注册</a>
                <a href="/study/index.php/Home/Login/userExit">注销</a> -->
                </h1>
            </div>
            <div class="clear"> </div>
        </div>
    </div>
</div>
<div id="aa">
<nav class="navbar navbar-default" style="background-color: #00FFFF;font-weight: bold;">
  <div class="container-fluid">
    <!-- Brand and toggle get grouped for better mobile display -->
    <div class="navbar-header">
      <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false">
        <span class="sr-only">Toggle navigation</span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
        <span class="icon-bar"></span>
      </button>
      <a class="navbar-brand" href="/study/index.php/Home/Index/index">首页</a>
    </div>

    <!-- Collect the nav links, forms, and other content for toggling -->
    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
      <ul class="nav navbar-nav">
      <li><a></a></li>
        <li class="active"><a href="/study/index.php/Home/Content/myGroups">我的社团</a></li>
        
       <li><a href="/study/index.php/Home/Content/myActivity">我的活动</a></li>
      
       <li><a href="/study/index.php/Home/Content/groupsList">社团大全</a></li>
       
       <li><a href="/study/index.php/Home/Content/activityList">社团活动大全</a></li>
     
       <li><a href="/study/index.php/Home/Content/newsList">最新动态</a></li>
       
       <li><a href="/study/index.php/Home/Content/findFile">下载资料</a></li>
        
       <li <?php if($_SESSION['users_state']== 0 ): ?>style="display:none;"<?php endif; ?>><a href="/study/index.php/Home/Content/findGroups1" style="color: red;">添加活动</a></li>
        <li><a></a></li>
        <li <?php if($_SESSION['users_state']== 0 ): ?>style="display:none;"<?php endif; ?>><a href="/study/index.php/Home/Content/findGroups?num=<?php echo (session('num')); ?>" style="color: red;">添加成员</a></li>
        
       

      </ul>
     
      <ul class="nav navbar-nav navbar-right">

       <li class="dropdown" 
            <?php if($_SESSION['users_state']== 0 ): ?>style="display:none;"<?php endif; ?>>
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="color: red;">审核 <span class="caret"></span></a>

          <ul class="dropdown-menu" >
            <li><a href="/study/index.php/Home/Content/isSuccess?num=<?php echo (session('num')); ?>">入团审核</a></li>
            <li><a href="/study/index.php/Home/Content/isOutg?num=<?php echo (session('num')); ?>">退团审核</a></li>
            <li><a href="">退活动审核 </a></li>
            
          </ul>
        </li>

        <li class="dropdown" 
            <?php if($_SESSION['users_state']== 0 ): ?>style="display:none;"<?php endif; ?>>
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false" style="color: red;">社团管理 <span class="caret"></span></a>

          <ul class="dropdown-menu" >
            <li><a href="/study/index.php/Home/Content/groupsModify?num=<?php echo (session('num')); ?>">查看社团信息</a></li>
            <li><a href="/study/index.php/Home/Content/groupsModify?num=<?php echo (session('num')); ?>">修改社团信息</a></li>    
          </ul>
        </li>
        
        <li class="dropdown">
          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">个人中心 <span class="caret"></span></a>
          <ul class="dropdown-menu">
            <li><a href="/study/index.php/Home/Content/persion?id=<?php echo (session('users_id')); ?>">个人信息</a></li>
            <li><a href="/study/index.php/Home/Content/passwordModify?id=<?php echo (session('users_id')); ?>">修改密码 </a></li>
            
            <!-- <li role="separator" class="divider"></li> -->
            <li><a href="/study/index.php/Home/Content/userModify?id=<?php echo (session('users_id')); ?>">修改个人信息</a></li>
          </ul>
        </li>
      </ul>
    </div><!-- /.navbar-collapse -->
  </div><!-- /.container-fluid -->
</nav>
</div>
<div class="banner" id="move-top">
    <div class="jumbotron">
 
  <div class="container">
  
  <!-- <p><img src="/study/Public/images/welcome.jpg"></p> -->
  <img src="/study/Public/images/22.jpg" width="100%">
</div>
</div>
	

<div class="modal fade" id="myModal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close"
                        data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    用户注册
                </h4>
            </div>
                
                <div class="modal-dialog" role="document">
                   
                     <form method="post"  action="<?php echo U('Home/Index/userReg');?>" enctype="multipart/form-data" class="form-horizontal"> 
                      <div class="modal-body"> 
                           

                            <div class="form-group">
                            <label for="exampleInputEmail1" class="col-md-3 control-label">用户名： </label>
                            <div class="col-md-5">
                            <input type="text" class="form-control" name="username" >
                            </div>
                            </div>
                            <div class="form-group">
                            <label for="exampleInputPassword1" class="col-md-3 control-label">密码：</label>
                             <div class="col-md-5">
                            <input type="password" class="form-control" name="pass"></div>
                            </div>
                            <div class="form-group">
                            <label for="exampleInputFile" class="col-md-3 control-label">确认密码： </label>
                             <div class="col-md-5">
                            <input type="password" class="form-control" name="pass1"><br></div>
                            </div>
                            <div class="form-group">
                            <label class="col-md-3 control-label">真实姓名：</label>
                             <div class="col-md-5">
                            <input type="text"  class="form-control" name="realname"><br></div>
                            </div>
                            
                            <div class="form-group">
                            <label for="exampleInputEmail1" class="col-md-3 control-label">邮箱： </label>
                            <div class="col-md-5">
                            <input type="email"  class="form-control"name="email"><br></div>
                            </div>
                            <div class="form-group">
                            <label for="exampleInputEmail1" class="col-md-3 control-label">电话： </label>
                            <div class="col-md-5">
                            <input type="tel"class="form-control" name="tele"><br></div>
                            </div>
                            <div class="form-group">
                            <label for="exampleInputEmail1" class="col-md-3 control-label">头像： </label>
                            <div class="col-md-5">
                            <input type="file"class="form-control" name="photo"><br></div>
                            </div>
                           
                          </div>      
                            
                            
                        
                            
                        
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                            <button type="submit" class="btn btn-primary">注册</button>
                        </div>
                    </form>
                    </div>
                </div>
            
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

<div class="modal fade" id="myModal1" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close"
                        data-dismiss="modal" aria-hidden="true">
                    &times;
                </button>
                <h4 class="modal-title" id="myModalLabel">
                    用户登录
                </h4>
            </div>
                
                <div class="modal-dialog" role="document">
                   
                     <form method="post"  action="<?php echo U('Home/Index/userReg');?>" enctype="multipart/form-data" class="form-horizontal"> 
                      <div class="modal-body"> 
                           

                            <div class="form-group">
                            <label for="exampleInputEmail1" class="col-md-3 control-label">用户名： </label>
                            <div class="col-md-5">
                            <input type="text" class="form-control" name="username" >
                            </div>
                            </div>
                            <div class="form-group">
                            <label for="exampleInputPassword1" class="col-md-3 control-label">密码：</label>
                             <div class="col-md-5">
                            <input type="password" class="form-control" name="pass"></div>
                            </div>
                            
                           
                          </div>      
                            
                            
                        
                            
                        
                        <div class="modal-footer">
                            <button type="button" class="btn btn-default" data-dismiss="modal">关闭</button>
                            <button type="submit" class="btn btn-primary">登录</button>
                        </div>
                    </form>
                    </div>
                </div>
            
        </div><!-- /.modal-content -->
    </div><!-- /.modal -->
</div>

</body>
</html>